
// BrowseHTMListView.h : interface of the CBrowseHTMListView class
//

#pragma once


class CBrowseHTMListView : public CHtmlView
{
protected: // create from serialization only
	CBrowseHTMListView();
	DECLARE_DYNCREATE(CBrowseHTMListView)

// Attributes
public:
	CBrowseHTMListDoc* GetDocument() const;

// Operations
public:

// Overrides
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void OnInitialUpdate(); // called first time after construct

// Implementation
public:
	virtual ~CBrowseHTMListView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnFilePrintPreview();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnFileOpen();
	
	bool LoadHTMLItem(CString path);
	afx_msg void OnFontsizeLargest();
	afx_msg void OnFontsizeLarge();
	afx_msg void OnFontsizeMedium();
	afx_msg void OnFontsizeSmall();
	afx_msg void OnFontsizeSmallest();
	virtual void OnTitleChange(LPCTSTR lpszText);
};

#ifndef _DEBUG  // debug version in BrowseHTMListView.cpp
inline CBrowseHTMListDoc* CBrowseHTMListView::GetDocument() const
   { return reinterpret_cast<CBrowseHTMListDoc*>(m_pDocument); }
#endif

